import request from '@/utils/request'

export const login = (data) => request.post('/sys/login', data)
export const getProfileInfo = () => request.post('/sys/profile')
export const getProfileDetail = (id) => request.get(`/sys/user/${id}`)
export const logout = () => request.post('')

